import { Badge } from 'antd'

export const canLogBadge = new Map([
  ['0', <Badge status="default" text="等待上传" />],
  ['1', <Badge status="processing" text="上传中" />],
  ['2', <Badge status="success" text="成功" />],
  ['3', <Badge status="error" text="超时" />],
  ['4', <Badge status="error" text="失败" />],
])